<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>
<body>
    <form action="{:url('submitCreateActionAction')}" method="post" >
        <div>操作属性</div>
        <ul>
            <li>
                <label for="table_id">关联表</label>
                <input type="text" id="table_id" name="table_id" value="{$table_id}" readonly/>
            </li>
            <li>
                <label for="scene_id">关联场景</label>
                <input type="text" id="scene_id" name="scene_id" value="{$table_id}" readonly/>
            </li>
            <li>
                <label for="name">名称</label>
                <input type="text" id="name" name="name" value=""/>
            </li>
            <li>
                <label for="title">标题</label>
                <input type="text" id="title" name="title" value=""/>
            </li>
            <li>
                <label for="describe">描述</label>
                <input type="text" id="describe" name="describe" value=""/>
            </li>
            <li>
                <label for="target_type">打开方式</label>
                <select name="target_type" id="target_type">
                    <option value="show">展示</option>
                    <option value="form">表单</option>
                    <option value="post">上传</option>
                    <option value="exec">执行</option>
                    <option value="relate">关联</option>
                    <option value="href">链接</option>
                </select>
            </li>
            <li>
                <label for="action_type">操作类型</label>
                <select name="action_type" id="action_type">
                    <option value="create">创建</option>
                    <option value="remove">删除</option>
                    <option value="update">更新</option>
                    <option value="search">查找</option>
                </select>
            </li>
            <li>
                <label for="data_type">绑定数据</label>
                <select name="data_type" id="data_type">
                    <option value="nope">不绑定</option>
                    <option value="single">单个id</option>
                    <option value="multi">多个id</option>
                    <option value="where">搜索条件</option>
                </select>
            </li>
            <li>
                <label for="params">参数</label>
                <textarea name="params" id="params" cols="30" rows="10"></textarea>
            </li>
        </ul>
        <button type="submit">提交</button>
    </form>
</body>
</html>
